package net.suncapper.wcss.service.impl;

import net.suncapper.wcss.model.domain.StudentData;
import net.suncapper.wcss.mapper.StudentDataMapper;
import net.suncapper.wcss.model.vo.WhitelistSettingVO;
import net.suncapper.wcss.service.IStudentDataService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ztr
 * @since 2025-11-06
 */
@Service
public class StudentDataServiceImpl extends ServiceImpl<StudentDataMapper, StudentData> implements IStudentDataService {

    @Override
    public List<WhitelistSettingVO> getByKey(String key) {
        return baseMapper.getByKey(key);
    }

    @Override
    public Integer insertByKey(WhitelistSettingVO key) {
        return baseMapper.insertByKey(key);
    }
}
